﻿using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
/// <summary>
/// Summary description for Class1
/// </summary>
public class Button
{
    Texture2D texture;
    Texture2D textureHighlight;
    float x;
    float y;

	public Button(float x,float y,Texture2D texture, Texture2D textureHighlight)
	{
        this.texture = texture;
        this.x = x;
        this.y = y;
        this.textureHighlight = textureHighlight;
	}
    public void setTexture(Texture2D newTexture) { texture = newTexture; }
    public Texture2D getTexture() { return texture; }
    public void setTextureHighlight(Texture2D newTextureHighlight) { textureHighlight = newTextureHighlight; }
    public Texture2D getTextureHighlight() { return textureHighlight; }
    public void setX(float newX) { x = newX; }
    public float getX() { return x; }
    public void setY(float newY) { y = newY; }
    public float getY() { return y; }

}
